<template>
    <keep-alive>
            <a-layout style="margin: 10px;">
                <a-layout-content :style="{ padding: '6px 6px 0', background: '#fff' }">
                    <router-view />
                </a-layout-content>
            </a-layout>
    </keep-alive>
</template>

<script>
import useTagsViewStore from '@/store/moudle/TagView'

export default {
    components: {  },
    data() {
        return {
            cachedViews: [],
        };
    },
    watch: {
        $route(to, from) {
            useTagsViewStore().addVisitedView(to.matched[to.matched.length - 1]);
        }
    },
    methods: {
    },
}
</script>

<style></style>